package cn.frontop.funswitch.service;

import cn.frontop.funswitch.entity.ApiPathEntity;
import cn.hutool.json.JSONObject;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * 请求路径
 *
 * @author Yun
 * @email Yun@frontop.cn
 * @date 2022-10-19 15:41:15
 */
public interface ApiPathService extends IService<ApiPathEntity> {

    /**
     * 测试API
     *
     * @param apiPathEntity 对象
     * @param request       请求参数获取
     * @return 结果
     */
    Object apiTest(ApiPathEntity apiPathEntity, JSONObject request);
}

